/**
 * Project Name:bfs
 * File Name:ConfigurationManagementService.java
 * Package Name:com.zeei.dsas.service
 * Date:2016年9月28日下午3:29:33
 * Copyright (c) 2016, ZEEI All Rights Reserved. *
 *
 * ClassName:ConfigurationManagementService
 * Function: TODO ADD FUNCTION.
 * @author   chq
 * @since    JDK 1.8
 */

package com.zeei.ems.base.service;

import com.github.pagehelper.PageInfo;
import com.zeei.ems.base.vo.GeneralCategoryVO;

import java.util.List;


public interface ConfigurationManagementService {
	
	/**
	 *
	 * dictionaryManagement:(查询通用字典信息).
	 *
	 * @param generalCategoryParam
	 * @return
	 */
	PageInfo<GeneralCategoryVO> dictionaryManagement(GeneralCategoryVO generalCategoryParam);

	/**
	 * dictionaryEdit:(更改通用字典信息).
	 *
	 * @param generalCategoryParam
	 * @param oldGeneralCode
	 * @return
	 */
	boolean editDictionary(GeneralCategoryVO generalCategoryParam, String oldGeneralCode);

	/**
	 *
	 * dictionaryEdit:(新增通用字典信息).
	 *
	 * @param generalCategoryParam
	 * @return
	 */
	boolean addDictionary(GeneralCategoryVO generalCategoryParam);
	
	/**
	 *
	 * dictionaryEdit:(查询通用字典).
	 *
	 * @param categoryclass
	 * @return
	 */
	List<GeneralCategoryVO> getCategoryList(String categoryclass,Integer systemType,int type);

	/**
	 * 方法描述:添加字典类型
	 *
	 * @param generalCategoryParam
	 * @return
	 */
	boolean addDictionaryType(GeneralCategoryVO generalCategoryParam);

	/**
	 * 方法描述:批量删除字典
	 *
	 * @param list
	 * @return
	 */
	boolean dropDictionary(List<String> list);

	/**
	 * 方法描述:查询不可外网访问的地址列表
	 *
	 * @param
	 * @return
	 */
	List<String> getAccessUrl();
	
	/**
	 * 方法描述： 验证字典编码
	 * @param generalCode
	 * @return
	 */
	boolean validGeneralCode(String generalCode);

	/**
	 * 方法描述:验证字典类别编码
	 *
	 * @param categoryClass
	 * @return
	 */
	boolean validCategoryClass(String categoryClass);

	/**
	 * 方法描述:验证字典类别名称
	 *
	 * @param categoryName
	 * @return
	 */
	boolean validCategoryName(String categoryName);
	
	/**
	 *
	 * dictionaryEdit:(查询通用字典类别).
	 *
	 * @return
	 */
	List<GeneralCategoryVO> getCategoryClass();
}
